﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class WeaponManager : MonoBehaviour {

    Dictionary<string,WeaponPlugin> weaponPluginList;
    Dictionary<string,Weapon> weaponList;

    public Weapon getWeapon(string weaponName)
    {
        if (weaponList.ContainsKey(weaponName))
            return weaponList[weaponName];
        else
            return null;
    }

    public WeaponPlugin getWeaponPlugin(string weaponPluginName)
    {
        if (weaponPluginList.ContainsKey(weaponPluginName))
        {
            return weaponPluginList[weaponPluginName];
        }
        else
            return null;
    }
	// Use this for initialization
	void Start () {
	    
	}
	
	// Update is called once per frame
	void Update () {
	    
	}

    private void init() 
    {

    }
}
